Global Index
HTML5 JS API Index > DOM Tutorials & Specs

HTMLCollection

An HTMLCollection object is a collection of elements.

Properties
unsigned long
length
The length attribute must return the number of nodes represented by the collection.
Operations
Element?
item(unsigned long index)
The item(index) method must return the indexth element in the collection. If there is no indexth element in the collection, then the method must return null.
Element?namedItem(DOMString name)
Referenced by
Documentscripts
ElementgetElementsByTagNameNS(...)
HTMLDataListElementoptions
HTMLMapElementimages
HTMLSelectElementselectedOptions
HTMLTableElementtBodies
HTMLTableRowElementcells
HTMLTableSectionElementrows
ParentNodechildren